<!--曹中义-->
<link rel="stylesheet" href="page/department/css/oxygenPulseFequency.css"/>
<body>
<div class="clearfix">
    <div class="top-tit">
        <div class="top-title">氧饱脉率监测分析报告</div>
        <ul class="clearfix">
            <li class="checked" type="hours">
                分段统计
                <div class="trangle show"></div>
            </li>
            <li type="day">
                日统计
                <div class="trangle"></div>
            </li>
        </ul>
    </div>
    <div class="left-box">
        <div class="content-one clearfix">
            <div class="top-nav">
                <span>氧饱脉率监测详情</span>
            </div>
            <div id="detailInfo"></div>
        </div>
        <div class="content-one content-three">
            <div class="top-nav">
                <span>氧饱脉率分时统计</span>
            </div>
            <div id="timeSharingStatistic"></div>
        </div>
        <div class="content-one content-three">
            <div class="top-nav">
                <span>氧饱脉率监测趋势</span>
            </div>
            <div id="trend"></div>
        </div>
    </div>
    <div class="right-boxFu">
        <div class="userInfo" id="userInfo">
        </div>
        <div id="oxygenlistBox" class="right-box">
        </div>
    </div>
</div>
<script type="text/javascript">
require(['jquery','dm/vm/oxygenPulseFequency','dm/vm/oxygenPulseFequencyDay'],function($,$oxygenPulseFequency,$oxygenPulseFequencyDay){
    $oxygenPulseFequency.init();
    $(".top-tit>ul>li").click(function(){
        var attr=$(this).attr("type");
        $(this).addClass("checked").siblings().removeClass("checked");
        $(this).siblings().find(".trangle").removeClass("show");
        $(this).find(".trangle").addClass("show");
        if(attr=="hours"){
            $oxygenPulseFequency.init();
        }else{
            $oxygenPulseFequencyDay.init();
        }
    });
});
</script>
</body>
